"use strict";

// signok controller
app
.controller("SignokFormController", ["$scope", "$http", "$state", "$timeout", "$translate", "AuthService",
                              function($scope,  $http,   $state, $timeout, $translate,   AuthService) {

		$scope.signok = function() {
			$scope.authError = null;
			$state.go("access.login");
		};
		
		$scope.init = function() {
			$timeout(function(){
				$scope.signok();
			},3000);
		}

	} ]);
